import astroLib.HijriCalendar;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
/**
 *
 * @author http://www.cepmuvakkit.com
 */
public class HijriCalTest {
    private static int year,month,day;

    public static  void main(String[] args)
     {
        System.out.println("  Gregorian to Hijri Converter This program calculates  Hijri date according to the global moonsighting criteria\n" +
         "Please keep in mind hijri dates starts with magrib prayer, this converter checks only the gregorian days after 12:00 pm.\n"+
         "Input  Date must be  later that 1/1/2000 \n"+
         "***This  code cannot used unless  resource is stated which is www.cepmuvakkit.com and cannot used for commercial purposes without  permission***");
       /* BufferedReader br;
        System.out.print("Enter Gregorian Year  = ");
        br = new BufferedReader(new InputStreamReader(System.in));
        try {  year =Integer.parseInt(br.readLine());  } catch (IOException ioe) { System.out.println("Wrong input!");    System.exit(1);   }
        System.out.print("Enter Gregorian Month = ");
        try {    month =Integer.parseInt(br.readLine());} catch (IOException ioe) {  System.out.println("Wrong input!"); System.exit(1);  }
        System.out.print("Enter Gregorian Day = ");
        try {    day =Integer.parseInt(br.readLine()); } catch (IOException ioe) {     System.out.println("Wrong input!"); System.exit(1);  }

        HijriCalendar hijriCalendar =new HijriCalendar( year,month,day);*/
        HijriCalendar hijriCalendar =new HijriCalendar(2001,3,1);
        String hijriDate=hijriCalendar.getHicriTakvim();
        System.out.println("HijriDate ="+hijriDate);


}
}